# install requirements
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils perl-devel perl-CPAN

# download source code
wget https://github.com/git/git/archive/master.zip

#
cd git-master
make configure
./configure --prefix=/usr
make -j8 && make install